# -*- coding: cp936 -*-

import pygame,random  
from pygame.locals import *

pygame.init() 
width, height = 640, 480
screen = pygame.display.set_mode((width, height))
black,red,bule,white=((0,0,0),(255,0,0),(0,0,255),(255,255,255))

"""clock = pygame.time.Clock()    
font = pygame.font.Font(None,24)
minutes = str(((90000-pygame.time.get_ticks())/60000)) 
seconds = str((90000-pygame.time.get_ticks())/1000%60).zfill(2)
survivedtext = font.render(minutes+":"+seconds,True,(0,0,8))
screen.blit(survivedtext,(8,8))"""

while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            exit(0)
